﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace EzDesk.Apps.Model.Attendance
{
    [DataContract]
    public enum AttendanceType
    {
        [EnumMember]
        onDuty = 0,  // 上班
        [EnumMember]
        offDuty = 1,  // 下班
    }

    public partial class AttendanceInfo
    {
        [DataMember]
        public AttendanceType AttendanceType
        {
            get { return (AttendanceType)AttendanceTypeValue; }
            set { AttendanceTypeValue = (int)value; }
        }
    }
}
